package org.redis.cluster.processor;

import org.redis.cluster.redis.RedisCommand;
import org.redis.cluster.redis.transport.RedisReply;
import org.redis.cluster.transport.session.Session;

public interface CommandProcessor {
	
	/**
	 * 处理
	 * @param command
	 * @param session
	 * @return
	 */
	public RedisReply process(RedisCommand command,Session session);
	
	/**
	 * 返回支持的命令
	 * @return
	 */
	public String getSupportCommand();
}